home *** CD-ROM | disk | FTP | other *** search
/ IRIX Development Foundation 1.1 for IRIX 6.2 / SGI IRIX 6.2 Development Foundation 1.1.iso / dist / patchSG0001645.idb / usr / include / sched.h.z / sched.h
C/C++ Source or Header  |  1997-07-01  |  1KB  |  47 lines

  1. /**************************************************************************
  2.  *                                      *
  3.  *          Copyright (C) 1996 Silicon Graphics, Inc.          *
  4.  *                                      *
  5.  *  These coded instructions, statements, and computer programs  contain  *
  6.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  7.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  8.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  9.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  10.  *                                      *
  11.  **************************************************************************/
  12.  
  13. /*
  14.  * POSIX Scheduling Header File.
  15.  */
  16.  
  17. #ifndef _SCHED_H_
  18. #define _SCHED_H_
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. #include <time.h>
  25. #include <sys/sched.h>
  26.  
  27. /*
  28.  * Interface Prototypes
  29.  */
  30. int sched_setparam(pid_t, const struct sched_param *);
  31. int sched_getparam(pid_t, struct sched_param *);
  32. int sched_setscheduler(pid_t, int, const struct sched_param *);
  33. int sched_getscheduler(pid_t);
  34. int sched_yield(void);
  35. int sched_get_priority_max(int);
  36. int sched_get_priority_min(int);
  37. int sched_rr_get_interval(pid_t, struct timespec *);
  38.  
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif /* _SCHED_H_ */
  43.  
  44.  
  45.  
  46.  
  47.